
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>windows · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    
    <link rel="prev" href="vscode.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    starting
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../INTRODUCTION.html">
            
                <a href="../INTRODUCTION.html">
            
                    
                    introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" >
            
                <span>
            
                    
                    algorithm
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../algorithm/graphic_processing/">
            
                <a href="../algorithm/graphic_processing/">
            
                    
                    graphic_processing
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../algorithm/machine_learning/">
            
                <a href="../algorithm/machine_learning/">
            
                    
                    machine_learning
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../algorithm/other/">
            
                <a href="../algorithm/other/">
            
                    
                    other
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    language
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../language/cpp/">
            
                <a href="../language/cpp/">
            
                    
                    cpp
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../language/golang/">
            
                <a href="../language/golang/">
            
                    
                    golang
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../language/java/">
            
                <a href="../language/java/">
            
                    
                    java
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="../language/javascript/">
            
                <a href="../language/javascript/">
            
                    
                    javascript
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="../language/python/">
            
                <a href="../language/python/">
            
                    
                    python
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    soft_skills
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="docker.html">
            
                <a href="docker.html">
            
                    
                    docker
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="git.html">
            
                <a href="git.html">
            
                    
                    git
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="ideaj.html">
            
                <a href="ideaj.html">
            
                    
                    ideaj
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="linux.html">
            
                <a href="linux.html">
            
                    
                    linux
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="maven.html">
            
                <a href="maven.html">
            
                    
                    maven
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.6" data-path="mysql.html">
            
                <a href="mysql.html">
            
                    
                    mysql
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.7" data-path="nginx.html">
            
                <a href="nginx.html">
            
                    
                    nginx
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.8" data-path="node.js.html">
            
                <a href="node.js.html">
            
                    
                    node.js
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.9" data-path="oracle.html">
            
                <a href="oracle.html">
            
                    
                    oracle
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.10" data-path="redis.html">
            
                <a href="redis.html">
            
                    
                    redis
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.11" data-path="script.html">
            
                <a href="script.html">
            
                    
                    script
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.12" data-path="skill.html">
            
                <a href="skill.html">
            
                    
                    skill
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.13" data-path="tcp-ip.html">
            
                <a href="tcp-ip.html">
            
                    
                    tcp-ip
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.14" data-path="ubuntu.html">
            
                <a href="ubuntu.html">
            
                    
                    ubuntu
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.15" data-path="vscode.html">
            
                <a href="vscode.html">
            
                    
                    vscode
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.5.16" data-path="windows.html">
            
                <a href="windows.html">
            
                    
                    windows
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >windows</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
                                <section class="normal markdown-section">
                                
                                <h4 id="windows-&#x7CFB;&#x7EDF;&#x9ED8;&#x8BA4;&#x662F;&#x4E0D;&#x80FD;-ping-&#x7684;&#xFF0C;&#x4E5F;&#x4E0D;&#x80FD;&#x901A;&#x8FC7;-ip-&#x8BBF;&#x95EE;&#x6570;&#x636E;">Windows &#x7CFB;&#x7EDF;&#x9ED8;&#x8BA4;&#x662F;&#x4E0D;&#x80FD; ping &#x7684;&#xFF0C;&#x4E5F;&#x4E0D;&#x80FD;&#x901A;&#x8FC7; ip &#x8BBF;&#x95EE;&#x6570;&#x636E;</h4>
<ul>
<li>ping&#xFF1A;&#x9632;&#x706B;&#x5899;&#x9AD8;&#x7EA7;&#x8BBE;&#x7F6E; -&gt; &#x5165;&#x7AD9;&#x89C4;&#x5219; -&gt; &#x6587;&#x4EF6;&#x4E0E;&#x6253;&#x5370;&#x673A;&#x5171;&#x4EAB;&#xFF08;ICMPv4&#xFF09;</li>
<li>ip&#xFF1A;&#x65B0;&#x5EFA;&#x5165;&#x7AD9;&#x89C4;&#x5219;&#xFF0C;&#x9009;&#x62E9;&#x7AEF;&#x53E3;</li>
</ul>
<p>Windows &#x5F00;&#x673A;&#x81EA;&#x542F;</p>
<ul>
<li>&#x5728; <code>&#x4EFB;&#x52A1;&#x7BA1;&#x7406;&#x5668; :: &#x542F;&#x52A8;</code> &#x4E2D;&#x53EF;&#x4EE5;&#x67E5;&#x770B;&#x4E0E;&#x7BA1;&#x7406;</li>
<li>&#x4F7F;&#x7528; <code>win + r</code> &#x8F93;&#x5165; <code>shell:startup</code> &#x6216; <code>shell:common startup</code> &#x53EF;&#x8FDB;&#x5165;&#x5F00;&#x673A;&#x81EA;&#x542F;&#x76EE;&#x5F55;&#xFF0C;&#x5728;&#x91CC;&#x9762;&#x7684;&#x53EF;&#x6267;&#x884C;&#x6587;&#x4EF6;&#x5728;&#x5F00;&#x673A;&#x65F6;&#x90FD;&#x4F1A;&#x88AB;&#x6267;&#x884C;&#xFF08;&#x524D;&#x8005;&#x9488;&#x5BF9;&#x5F53;&#x524D;&#x7528;&#x6237;&#xFF0C;&#x540E;&#x8005;&#x9488;&#x5BF9;&#x6240;&#x6709;&#x7528;&#x6237;&#xFF09;</li>
</ul>
<h4 id="windows-&#x540E;&#x53F0;&#x6267;&#x884C;&#x9700;&#x8981;&#x4F7F;&#x7528;-vbs-&#x811A;&#x672C;">Windows &#x540E;&#x53F0;&#x6267;&#x884C;&#x9700;&#x8981;&#x4F7F;&#x7528; vbs &#x811A;&#x672C;</h4>
<pre><code class="lang-vbs"><span class="hljs-comment">&apos; &#x521B;&#x5EFA; wscript &#x7684; shell &#x5BF9;&#x8C61;</span>
<span class="hljs-keyword">set</span> ws = <span class="hljs-built_in">createobject</span>(<span class="hljs-string">&quot;wscript.shell&quot;</span>)
<span class="hljs-comment">&apos; &#x540E;&#x53F0;&#x6267;&#x884C; start.bat&#xFF08;&#x7B2C;&#x4E8C;&#x4E2A;&#x53C2;&#x6570;&#x4E3A; 0 &#x8868;&#x793A;&#x540E;&#x53F0;&#x6267;&#x884C;&#xFF09;</span>
ws.run <span class="hljs-string">&quot;start.bat&quot;</span>,<span class="hljs-number">0</span>
</code></pre>
<h4 id="windows-&#x7F51;&#x7EDC;&#x5171;&#x4EAB;">Windows &#x7F51;&#x7EDC;&#x5171;&#x4EAB;</h4>
<ol>
<li>&#x8BA1;&#x7B97;&#x673A;&#x7BA1;&#x7406; -&gt; &#x5171;&#x4EAB;&#x6587;&#x4EF6;&#x5939;: &#x521B;&#x5EFA;&#x8981;&#x5171;&#x4EAB;&#x7684;&#x6587;&#x4EF6;&#x5939;, &#x9ED8;&#x8BA4;&#x662F; User &#x76EE;&#x5F55;</li>
<li>&#x8BA1;&#x7B97;&#x673A;&#x7BA1;&#x7406; -&gt; &#x672C;&#x5730;&#x7528;&#x6237;&#x548C;&#x7EC4;: &#x521B;&#x5EFA;&#x5171;&#x4EAB;&#x65F6;&#x767B;&#x9646;&#x7684;&#x7528;&#x6237;, &#x4E5F;&#x53EF;&#x4EE5;&#x662F;&#x5F53;&#x524D;&#x7528;&#x6237;</li>
<li>&#x63A7;&#x5236;&#x9762;&#x677F; -&gt; &#x7F51;&#x7EDC;&#x548C;&#x5171;&#x4EAB;&#x4E2D;&#x5FC3; -&gt; &#x9AD8;&#x7EA7;&#x5171;&#x4EAB;&#x8BBE;&#x7F6E;: &#x4E3A;&#x5F53;&#x524D;&#x7F51;&#x7EDC;&#x542F;&#x7528;&#x7F51;&#x7EDC;&#x53D1;&#x73B0;&#x548C;&#x6587;&#x4EF6;&#x5171;&#x4EAB;, &#x9ED8;&#x8BA4;&#x662F;&#x6253;&#x5F00;&#x7684;</li>
<li>&#x542F;&#x7528;&#x6216;&#x5173;&#x95ED; Windows &#x529F;&#x80FD;: &#x6253;&#x5F00; SMB &#x6587;&#x4EF6;&#x5171;&#x4EAB;&#x652F;&#x6301; (Win10)</li>
</ol>
<h4 id="&#x53F3;&#x952E;&#x5FEB;&#x6377;&#x83DC;&#x5355;">&#x53F3;&#x952E;&#x5FEB;&#x6377;&#x83DC;&#x5355;</h4>
<p>&#x81EA;&#x5B9A;&#x4E49;&#x53F3;&#x952E;&#x5FEB;&#x6377;&#x83DC;&#x5355;&#x9700;&#x8981;&#x4FEE;&#x6539;&#x6CE8;&#x518C;&#x8868; <code>regedit</code>, &#x76F8;&#x5173;&#x7684;&#x5730;&#x65B9;&#x6709;&#x4E09;&#x4E2A;, &#x5206;&#x522B;&#x662F;
|&#x4F4D;&#x7F6E; |&#x4F5C;&#x7528;&#x57DF; |
|-|-|
|HKEY_CLASSES_ROOT/*/shell |&#x9009;&#x4E2D;&#x4EFB;&#x610F;&#x6587;&#x4EF6;&#x65F6;&#x751F;&#x6548;, &#x53EF;&#x7528;&#x4E8E; notepad &#x5FEB;&#x901F;&#x6253;&#x5F00;&#x6587;&#x4EF6; |
|HKEY_CLASSES_ROOT/Directory/shell |&#x9009;&#x4E2D;&#x76EE;&#x5F55;&#x65F6;&#x751F;&#x6548;, &#x53EF;&#x7528;&#x4E8E;&#x76F4;&#x63A5;&#x5728;&#x5F53;&#x524D;&#x5904;&#x6253;&#x5F00; cmd |
|HKEY_CLASSES_ROOT/Directory/Background/shell |&#x4E0D;&#x9009;&#x4E2D;&#x4EFB;&#x4F55;&#x4E1C;&#x897F;&#x65F6;&#x751F;&#x6548; (&#x76F8;&#x5F53;&#x4E8E;&#x5728;&#x67D0;&#x4E00;&#x4E2A;&#x76EE;&#x5F55;&#x4E2D;&#x76F4;&#x63A5;&#x70B9;&#x51FB;&#x53F3;&#x952E;), &#x53EF;&#x4EE5;&#x7528;&#x4E8E;&#x4F7F;&#x7528; code &#x6253;&#x5F00;&#x67D0;&#x76EE;&#x5F55; |</p>
<p>&#x4EE5; <code>notepad</code> &#x4E3A;&#x4F8B;, <code>shell</code> &#x76EE;&#x5F55;&#x4E2D;&#x683C;&#x5F0F;&#x5982;&#x4E0B; (&#x5047;&#x8BBE; <code>notepad.exe</code> &#x7684;&#x8DEF;&#x5F84;&#x4FDD;&#x5B58;&#x5728;&#x7CFB;&#x7EDF;&#x53D8;&#x91CF;&#x4E2D;)</p>
<pre><code>shell
  |_ notepad        // &#x9ED8;&#x8BA4;&#x503C;&#x4E3A; Open With Notepad, Icon &#x503C;&#x4E3A; notepad.exe
       |_ command   // &#x9ED8;&#x8BA4;&#x503C;&#x4E3A; notepad.exe %1 (%1 &#x8868;&#x793A;&#x8DEF;&#x5F84;&#x7684;&#x53D8;&#x91CF;)
</code></pre><h4 id="80-&#x7AEF;&#x53E3;&#x88AB;&#x5360;&#x7528;">80 &#x7AEF;&#x53E3;&#x88AB;&#x5360;&#x7528;</h4>
<ol>
<li>&#x4F7F;&#x7528; <code>netstat -nao|findstr 80</code> &#x627E;&#x5230;&#x5360;&#x7528;&#x7AEF;&#x53E3;&#x7684; PID</li>
<li>&#x4F7F;&#x7528; <code>tasklist /fi &quot;pid eq ?&quot;</code> &#x627E;&#x5230;&#x8BE5;&#x670D;&#x52A1;</li>
<li>&#x4F7F;&#x7528; <code>taskkill /pid ?</code> &#x6216; <code>taskkill /im ?.exe</code> &#x6740;&#x6B7B;&#x8FDB;&#x7A0B;</li>
</ol>
<p>P.S. &#x5982;&#x679C;&#x662F;&#x7AEF;&#x53E3;&#x88AB; System &#x5360;&#x7528;&#xFF08;PID = 4&#xFF09;&#xFF0C;&#x8FDB;&#x5165; <code>&#x542F;&#x52A8;&#x6216;&#x5173;&#x95ED; Windows &#x529F;&#x80FD;</code>&#xFF0C;&#x5173;&#x95ED; <code>Internet Infomation Services</code> &#x4E0B;&#x6240;&#x6709;&#x52FE;&#x9009;&#x7684;&#x529F;&#x80FD;</p>

                                
                                </section>
                            
                        </div>
                    </div>
                
            </div>

            
                
                <a href="vscode.html" class="navigation navigation-prev navigation-unique" aria-label="Previous page: vscode">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"windows","level":"1.5.16","depth":2,"previous":{"title":"vscode","level":"1.5.15","depth":2,"path":"soft_skills/vscode.md","ref":"soft_skills/vscode.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["-search","-sharing","-lunr"],"pluginsConfig":{"highlight":{},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"soft_skills/windows.md","mtime":"2020-01-14T14:18:13.314Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-03-17T16:45:36.070Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

